from .color import Color
from util.config import FONT

TAGS = {
    "red": {
        "foreground": Color.RED
    },
    
    "blue": {
        "foreground": Color.BLUE
    },

    "blue_italic": {
        "foreground": Color.BLUE, 
        "font": FONT + " italic"
    },

    "green": {
        "foreground": Color.GREEN
    },

    "underline": {
        "font": FONT + " italic", 
        "underline": True
    },

    "purple": {
        "foreground": Color.PURPLE
    },

    "orange": {
        "foreground": Color.ORANGE
    },

    "dark_orange_bold": {
        "foreground": Color.DARK_ORANGE,
        "font": FONT + " bold",
    },

    "console_prompt": {
        "foreground": Color.DARK_ORANGE,
        "font": FONT + " bold",
        "selectbackground": Color.DARK_BLACK,
    },

    "orange_italic": {
        "foreground": Color.ORANGE, 
        "font": FONT + " italic"
    },

    "comment": {
        "foreground": Color.VERY_DARK_GREY
    },

    "yellow": {
        "foreground": Color.YELLOW
    },

    "error_file": {
        "foreground": Color.YELLOW
    },

    "error_file_hover": {
        "foreground": Color.WHITE
    },
}

TREE_TAGS = {
    "blue": {
        "foreground": Color.BLUE
    },

    "yellow": {
        "foreground": Color.YELLOW
    },

    "grey": {
        "foreground": Color.GREY
    },
    
    "purple": {
        "foreground": Color.PURPLE
    },

    "red": {
        "foreground": Color.RED
    },
}